#define _CRT_SECURE_NO_WARNINGS 1
#include"RBTree.h"

int main()
{
	RBTree<int, int> t;
	int arr[] = { 16, 3, 7, 11, 9, 26, 18, 14, 15 };
	for (auto e : arr)
	{
		t.insert(make_pair(e, e));
	}
	t.InOrder();
	cout<<t.CheckBlance()<<endl;
	return 0;
}